<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新闻资讯 --  -- <?php echo catpos($r['catid']);?> -- <?php echo $title;?></title>
<link href="/common/css/style.css" rel="stylesheet" type="text/css" />
 <script language="javascript">
document.onkeypress = function(){
if(document.activeElement.tagName == "INPUT" ||
   document.activeElement.tagName == "TEXTAREA" )
{
return true;
}
else
{
location.replace("TS://Key"+String.fromCharCode(event.keyCode)); return false; 

}
}
 </script>
</head>
<body>
<!-- 表头部分 -->
<DIV class=jg1 style="text-align:cleft"><IMG src="/common/image/ico57.gif" align=absMiddle> 
<!-- 返回按钮 -->
    <a href="/">返回首页</a>&nbsp;&nbsp;&nbsp;&nbsp;
<?php echo isset($categoryName)?$categoryName:catpos($r['catid']);?>&nbsp;&nbsp;&nbsp;&nbsp;
    <!-- 新闻标题 -->
    <?php echo $title;?>
    &nbsp;&nbsp;
<?php if($copyfrom) { ?>
    <!-- 来源  -->
         来源:<?php echo $copyfrom;?>
    &nbsp;&nbsp;
<?php } ?><?php if($author) { ?>
    <!-- 作者  -->
        作者:<?php echo $author;?>    
    &nbsp;&nbsp;
<?php } ?>
         发布日期:<?php echo date('Y-m-d H:i:s', $r[inputtime]);?> 
    &nbsp;&nbsp;<a href="/cms/collect.php?contentid=<?php echo $contentid;?>&action=add">[收藏]</a>
&nbsp;&nbsp;<?php if($userid >0 ) { ?><a href="/cms/collect.php">[我的收藏]</a><?php } ?>  
</DIV>
<!-- 数据部 -->
<DIV id=Uc7_dvPanelTitle><TABLE class=news_bordall id=Uc7_GridView1 style="border:0px;WIDTH:100%;background:#fff;" cellSpacing=1 cellPadding=2 rules=all border=0><TR><TD class="news_dg_item smltx" style="text-align:left;line-height:25px; font-size:14px">
<?php if($mssql == "2") { ?>
<pre><?php echo $content;?></pre>
<?php } else { ?>
<?php echo $content;?>
<?php } ?>
</TD></TR></TABLE>   
</DIV>
</body>
</html>